<?php
class Admin_Form_EditCustomer extends Admin_Form_AddCustomer {
	public function init() {
	    $this->lockMakeup();
		parent::init();
		$this->unlockMakeup();

		$this->getElement('full_name')
			->getValidator('NoRecordExists')
			->setExclude(array('field' => 'id',
					'value' => $this->_request->getParam('id')));

		$this->getElement('email')
			->getValidator('NoRecordExists')
			->setExclude(array('field' => 'id',
						'value' => $this->_request->getParam('id')));

		$this->makeup();
		$this->setLegend('Edit Customer');
	}
}